package com.macro.mall.mgb.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 订单操作历史记录
 * </p>
 *
 * @author wangwang
 * @since 2025-07-21
 */
    @Data
    @TableName("oms_order_operate_history")
    @EqualsAndHashCode(callSuper = false)
public class OrderOperateHistory implements Serializable {

    private static final long serialVersionUID = 1L;

            @TableId(value = "id")
    private Long id;

            /**
             * 订单id
             */
    private Long orderId;

            /**
             * 操作人：用户；系统；后台管理员
             */
    private String operateMan;

            /**
             * 操作时间
             */
    private Date createTime;

            /**
             * 订单状态：0->待付款；1->待发货；2->已发货；3->已完成；4->已关闭；5->无效订单
             */
    private Integer orderStatus;

            /**
             * 备注
             */
    private String note;

    }